package com.zjw.zy.heart.bean.weather;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：zhong.jw
 * @date ：Created in 2022/9/27 17:18
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public final class DailyWeatherDetail implements Serializable {
    @JsonProperty("text_day")
    public String textDay;
    @JsonProperty("code_day")
    public String codeDay;
    @JsonProperty("text_night")
    public String textNight;
    @JsonProperty("code_night")
    public String codeNight;
    //日最高气温 ℃
    @JsonProperty("high")
    public int high;
    //日最低气温 ℃
    @JsonProperty("low")
    public int low;
    //白天风力级别
    @JsonProperty("wc_day")
    public String wcDay;
    //白天风向 西南风
    @JsonProperty("wd_day")
    public String wdDay;
    //黑夜风力级别
    @JsonProperty("wc_night")
    public String wcNight;
    //黑夜风向
    @JsonProperty("wd_night")
    public String wdNight;
    //白天风向角度 °
    @JsonProperty("wa_day")
    public String waDay;
    //黑夜风向角度 °
    @JsonProperty("wa_night")
    public String waNight;
    //白天风速 m/s
    @JsonProperty("ws_day")
    public String wsDay;
    //黑夜风速 m/s
    @JsonProperty("ws_night")
    public String wsNight;
    //降雨概率 %
    @JsonProperty("pop")
    public int pop;
    //气压 hPa
    @JsonProperty("pressure")
    public int pressure;
    //最大相对湿度 %
    @JsonProperty("maxrh")
    public int maxRh;
    //最小相对湿度 %
    @JsonProperty("minrh")
    public int minRh;
    //能见度 m
    @JsonProperty("vis")
    public int vis;
    //白天云量 %
    @JsonProperty("clouds_day")
    public int cloudsDay;
    @JsonProperty("clouds_night")
    public int cloudsNight;
    //紫外线强度
    @JsonProperty("uv")
    public int uv;
    //预报日期
    @JsonProperty("date")
    public String date;
    //星期
    @JsonProperty("week")
    public String week;


    @Override
    public String toString() {
        return "DailyWeather{" +
                "text_day='" + textDay + '\'' +
                ", code_day='" + codeDay + '\'' +
                ", text_night='" + textNight + '\'' +
                ", code_night='" + codeNight + '\'' +
                ", high=" + high +
                ", low=" + low +
                ", wc_day='" + wcDay + '\'' +
                ", wd_day='" + wdDay + '\'' +
                ", wc_night='" + wcNight + '\'' +
                ", wd_night='" + wdNight + '\'' +
                ", wa_day='" + waDay + '\'' +
                ", wa_night='" + waNight + '\'' +
                ", ws_day='" + wsDay + '\'' +
                ", ws_night='" + wsNight + '\'' +
                ", pop=" + pop +
                ", pressure=" + pressure +
                ", max_rh=" + maxRh +
                ", min_rh=" + minRh +
                ", vis=" + vis +
                ", clouds_day=" + cloudsDay +
                ", clouds_night=" + cloudsNight +
                ", uv=" + uv +
                ", date=" + date +
                ", week='" + week + '\'' +
                '}';
    }
}
